// 框架工具

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import VueAxios from 'vue-axios'

//=============简单封装一下axios==================================
const instance = axios.create({
  baseURL: '/'
});
instance.interceptors.response.use( response => {
  return response.data;
});
//=============简单封装一下axios==================================


export default {
    ElementUI:ElementUI,
    axios:instance,
    VueAxios:VueAxios,
  }